#include "processBar.h"
#include <unistd.h>


int main()
{
    // 倒计时
    int count=10;
    while(count >= 0)
    {
        printf("%-2d\r", count);
        cout << flush;
        count--;
        sleep(1);
    }
    cout << endl;

    return 0;
}
